package com.idanchuang.component.provider;

import com.idanchuang.component.provider.warmup.DcProviderWarmUp;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
public class ProviderWarmUpAutoConfiguration {

    @Bean("acgProviderWarmUp")
    @ConditionalOnMissingBean(name = "acgProviderWarmUp")
    public DcProviderWarmUp acgProviderWarmUp() {
        return new DcProviderWarmUp();
    }


}
